
using System;
using Qdb.Ext;

namespace Qdb.Ext
{
	/// <summary>
	/// qdb-specific exception.<br /><br />
	/// This exception is thrown when a system IO exception
	/// is encounted by qdb process.
	/// </summary>
	/// <remarks>
	/// qdb-specific exception.<br /><br />
	/// This exception is thrown when a system IO exception
	/// is encounted by qdb process.
	/// </remarks>
	[System.Serializable]
	public class QdbIOException : QdbFatalException
	{
		/// <summary>Constructor.</summary>
		/// <remarks>Constructor.</remarks>
		public QdbIOException() : base()
		{
		}

		public QdbIOException(string message) : base(message)
		{
		}

		/// <summary>Constructor allowing to specify the causing exception</summary>
		/// <param name="cause">exception cause</param>
		public QdbIOException(Exception cause) : base(cause.Message, cause)
		{
		}
	}
}
